package com.youlai.boot.modules.content.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;

/**
 * 分类视图对象
 *
 * @author youlaitech
 * @since 2025-02-20 11:07
 */
@Getter
@Setter
@Schema( description = "分类视图对象")
public class LzCategoryVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;
    @Schema(description = "分类名")
    private String name;
    @Schema(description = "父分类id，如果没有父分类为-1")
    private Long pid;
    @Schema(description = "父分类名称")
    private String parentName;
    @Schema(description = "描述")
    private String description;
    @Schema(description = "状态0:正常,1禁用")
    private String status;
    private Long createBy;
    private LocalDateTime createTime;
    private Long updateBy;
    private LocalDateTime updateTime;
    @Schema(description = "删除标志（0代表未删除，1代表已删除）")
    private Integer isDeleted;
}
